﻿using System;

namespace gdlmo.DNN.Modules.ImgNews.Business
{
	public class ImgNewsInfo
	{
		#region "Private Members"
		int _ImgNewsId;
		int _ModuleId;
		string _Title;
		string _ImgLink;
		string _Links;
		string _Target;
		string _IP;
		string _CreateByUser;
		string _Author;
		bool _IsActive;
		DateTime _CreateDate;
		#endregion
		
		#region "Constructors"
		public ImgNewsInfo()
		{
		}

		public ImgNewsInfo(int ImgNewsId, int ModuleId , string Title , string ImgLink , string Links , string Target , string IP , string CreateByUser , string Author , bool IsActive , DateTime CreateDate)
		{
			this.ImgNewsId = ImgNewsId;
			this.ModuleId = ModuleId;
			this.Title = Title;
			this.ImgLink = ImgLink;
			this.Links = Links;
			this.Target = Target;
			this.IP = IP;
			this.CreateByUser = CreateByUser;
			this.Author = Author;
			this.IsActive = IsActive;
			this.CreateDate = CreateDate;
		}
		#endregion
		
		#region "Public Properties"
		public int ImgNewsId
		{
			get{return _ImgNewsId;}
			set{_ImgNewsId = value;}
		}
		
		public int ModuleId
		{
			get{return _ModuleId;}
			set{_ModuleId = value;}
		}

		public string Title
		{
			get{return _Title;}
			set{_Title = value;}
		}

		public string ImgLink
		{
			get{return _ImgLink;}
			set{_ImgLink = value;}
		}

		public string Links
		{
			get{return _Links;}
			set{_Links = value;}
		}

		public string Target
		{
			get{return _Target;}
			set{_Target = value;}
		}

		public string IP
		{
			get{return _IP;}
			set{_IP = value;}
		}

		public string CreateByUser
		{
			get{return _CreateByUser;}
			set{_CreateByUser = value;}
		}

		public string Author
		{
			get{return _Author;}
			set{_Author = value;}
		}

		public bool IsActive
		{
			get{return _IsActive;}
			set{_IsActive = value;}
		}

		public DateTime CreateDate
		{
			get{return _CreateDate;}
			set{_CreateDate = value;}
		}
		#endregion
	}
}